home *** CD-ROM | disk | FTP | other *** search
/ BCI NET / BCI NET Dec 94.iso / archives / programming / utilities / ghostriderv19.lha / GhostRiderV1.9 / Include / Libraries / ghostrider.i
Encoding:
Text File  |  1994-07-29  |  1.6 KB  |  58 lines

  1.     IFND LIBRARIES_GHOSTRIDER_I
  2. LIBRARIES_GHOSTRIDER_I SET 1
  3. **
  4. **    $VER: ghostrider.i 37.1 (29.04.94)
  5. **
  6. **    ghostrider.library constants
  7. **
  8. **    (C) Copyright 1994 Jesper Skov
  9. **        All Rights Reserved
  10. **
  11.  
  12. * Make sure that GhostRider was loaded with the DeckRunner before calling
  13. * functions in the library or you will get the gr_grnotfound error.
  14.  
  15.     IFND EXEC_TYPES_I
  16.     INCLUDE 'exec/types.i'
  17.     ENDC
  18.  
  19.  
  20. ******* Entry Types *********************************************************
  21.  
  22.     BITDEF    GRET,mbutton,0        ; Middle mouse button.
  23.     BITDEF    GRET,rbutton,1        ; Right mouse button.
  24.     BITDEF    GRET,lbutton,2        ; Left mouse button.
  25.  
  26. ; The three mouse button bits function as a qualifier mask,
  27. ; but may not be mixed with the RAWKEY entry type.
  28.  
  29.     BITDEF    GRET,rawkey,3        ; Entry by RAWKEY event.
  30.  
  31. ; The key code and qualifier bits match the definitions of the keyboard
  32. ; device. The RAWKEY entry type may not be mixed with the mouse button
  33. ; entry types.
  34.  
  35.  
  36. ******* Library Error Codes *************************************************
  37.  
  38. gr_ok        EQU    0        ; Function succesful.
  39. gr_grnotfound     EQU    -2        ; GhostRider was not found in memory.
  40.  
  41. ;---- Codes returned by _LVOGRSetBreakPoint
  42. gr_sbp_fail    EQU    -1        ; Address could not be accessed.
  43. gr_sbp_full    EQU    1        ; Breakpoint table is full.
  44. gr_sbp_isset    EQU    2        ; Address already have a breakpoint.
  45.  
  46. ;---- Codes returned by _LVOGRClrBreakPoint
  47. gr_cbp_notset    EQU    -1        ; Address does not have a breakpoint.
  48.  
  49.  
  50. ******* Library Name ********************************************************
  51.  
  52. GHOSTRIDERNAME    MACRO
  53.         dc.b "ghostrider.library",0
  54.         ENDM
  55.  
  56.  
  57.     ENDC    ; LIBRARIES_GHOSTRIDER_I
  58.